//
//  NSObject+Extension.m
//  FeiHuNote
//
//  Created by N-X on 2017/12/22.
//  Copyright © 2017年 MRNAN. All rights reserved.
//

#import "NSObject+Extension.h"

@implementation NSObject (Extension)

- (id)objectOrNilForKey:(id)aKey fromDictionary:(NSDictionary *)dict
{
    id object = [dict objectForKey:aKey];
    return [object isEqual:[NSNull null]] ? nil : object;
}

@end
